projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf673a7
)
(make_lispy_event): Fix off-by-1 error with hpos in menu bar.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 26 May 1993 17:58:22 +0000
(17:58 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 26 May 1993 17:58:22 +0000
(17:58 +0000)
src/keyboard.c
patch
|
blob
|
history
diff --git
a/src/keyboard.c
b/src/keyboard.c
index fc7d5f4d8cf505c5998c1a7f40a97bfbfdb8abaa..a9bb02bb89697cc767fe564d308cec87dfdd7990 100644
(file)
--- a/
src/keyboard.c
+++ b/
src/keyboard.c
@@
-2221,8
+2221,8
@@
make_lispy_event (event)
Lisp_Object pos, string;
pos = Fcdr (Fcdr (Fcar (items)));
string = Fcar (Fcdr (Fcar (items)));
- if (XINT (event->x) > XINT (pos)
- && XINT (event->x) <
=
XINT (pos) + XSTRING (string)->size)
+ if (XINT (event->x) >
=
XINT (pos)
+ && XINT (event->x) < XINT (pos) + XSTRING (string)->size)
break;
}
position